package com.dongdongshop.service;


import com.dongdongshop.pojo.TbSeckillGoods;

import java.util.List;

public interface TbSeckillGoodService {

    //查询全部放入缓存
    void addall();

    //取出数据
    List<TbSeckillGoods> getall();

    //查询一条数据根据id
    TbSeckillGoods  getorder(Long id);

    //创建订单
    long createorder(Long sekillid, String username);
}
